Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-50915 | OL6-00-000058 | SV-65121r1_rule | Low |
Description |
---|
Requiring a minimum number of special characters makes password guessing attacks more difficult by ensuring a larger search space. |
STIG | Date |
---|---|
Oracle Linux 6 Security Technical Implementation Guide | 2014-06-12 |
Check Text ( C-53371r1_chk ) |
---|
To check how many special characters are required in a password, run the following command: $ grep pam_cracklib /etc/pam.d/system-auth The "ocredit" parameter (as a negative number) will indicate how many special characters are required. The DoD requires at least one special character in a password. This would appear as "ocredit=-1". If ocredit is not found or not set to the required value, this is a finding. |
Fix Text (F-55711r1_fix) |
---|
The pam_cracklib module's "ocredit=" parameter controls requirements for usage of special (or ``other'') characters in a password. When set to a negative number, any password will be required to contain that many special characters. When set to a positive number, pam_cracklib will grant +1 additional length credit for each special character. Add "ocredit=-1" after pam_cracklib.so to require use of a special character in passwords. |